package com.ruoyi.system.service.shopping;

import com.ruoyi.system.domain.shopping.Category;
import com.ruoyi.system.domain.shopping.Product;
import com.ruoyi.system.domain.shopping.dto.ProductVoDto;
import com.ruoyi.system.domain.shopping.vo.ProductVo;

import java.util.List;

public interface ProductService {
    List<ProductVo> selectProductVoList(Product product);
    List<Category> selectProductHostList();

    ProductVo selectProductVoById(Integer productId);

    ProductVoDto selectProductVoDtoByproductId(Integer productId,Integer userId);

    List<ProductVo> selectProductList(Product product);

    Boolean add(Product product);

    Boolean update(Product product);

    Boolean deleteByIds(Integer[] productId);

    Product selectProductById(Integer productId);
}
